#pragma once
#include "Precompiled.h"

#include "SkeletonStore.h"

namespace Sandbox
{
	class SceneStore
	{
		/*
		Purpose: This class contains scene related data 
		(like skeleton system, meshes etc).
		*/

	public:

		SceneStore();
		~SceneStore();

		void Import();

	public:

		_Decl_value_prop_hinl1_( m_d3dContext, Sehnsucht::Resource::Context3Ptr, Context3, _No_actions, { m_skeleton->Context3( value ); } );
		_Decl_value_prop_hinl1_( m_d3dDevice, Sehnsucht::Resource::Device3Ptr, Device3, _No_actions, { m_skeleton->Device3( value ); } );
		_Decl_value_prop_hinl1(m_scene, Eifersucht::ScenePtr, Scene);

	private:
		
		Sehnsucht::Resource::Context3Ptr m_d3dContext;
		Sehnsucht::Resource::Device3Ptr m_d3dDevice;

		Sandbox::SkeletonStorePtr m_skeleton;
		Eifersucht::ScenePtr m_scene;

	};
};